/*
 * @Author: Olivia
 * @Date: 2022-08-30 21:00:52
 * @custom_string_Olivia: Less is more
 */
import request from '@/utils/request'
export const getSearchSuggestions = q => {
  return request({
    url: '/app/v1_0/suggestion',
    method: 'GET',
    params: {
      q
    }
  })
}
export const getSearchResult = params => {
  return request({
    url: '/app/v1_0/search',
    method: 'GET',
    params
  })
}
